package com.paradogs.gs.db;

import com.baidu.bjf.remoting.protobuf.annotation.ProtobufClass;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.paradogs.gs.misc.BaseMgrEntity;
import com.paradogs.gs.misc.annotations.CodeAutoGeneratorModule;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author: yumi
 * @date: 2024/10/23  22:59
 * @Description: TODO
 */
@CodeAutoGeneratorModule("world")
@Data
@AllArgsConstructor
@NoArgsConstructor
@ProtobufClass
@TableName(value = "mgr_world", autoResultMap = true)
public class World extends BaseMgrEntity {

    // 当前血量
    @TableField("hp")
    private Integer hp;
    // 当前法力
    @TableField("mp")
    private Integer mp;

    // 当前世界
    @TableField("world_id")
    private Integer worldId;

    // X坐标
    @TableField("x")
    private Integer x;

    // Y坐标
    @TableField("y")
    private Integer y;

}
